<?php
class Html_to extends CI_Controller{

	function about(){
		$this->load->library('ci_smarty');
//		$this->load->model('server/news_model');
//		$cont=[
//			'table'=>'news',
//			'where'=>['id'=>42]
//		];
//		$data = $this->news_model->select_form($cont);  //返回数据的数组
//		$this->ci_smarty->assign('content', $data);
		$this->ci_smarty->display('about.html');
	}

	function activity(){
		$this->load->library('ci_smarty');
		$this->ci_smarty->display('activity.html');
	}

	function course_list(){
		$this->load->library('ci_smarty');
		$this->ci_smarty->display('course_list.html');
	}



	function life(){
		$this->load->library('ci_smarty');
		$this->ci_smarty->display('life.html');
	}

	function equipment(){
		$this->load->library('ci_smarty');
		$this->ci_smarty->display('equipment.html');
	}

	function teacher_list(){
		$this->load->library('ci_smarty');
		$this->ci_smarty->display('teacher_list.html');
	}

	function mypage(){
		$this->load->library('ci_smarty');
		$this->ci_smarty->display('mypage.html');
	}

	function home(){
		$this->load->library('ci_smarty');
		$this->ci_smarty->display('home.html');
	}

	function article_list(){
		$this->load->library('ci_smarty');
		$this->ci_smarty->display('article_list.html');
	}


	function contact(){
		$this->load->library('ci_smarty');
		$this->ci_smarty->display('contact.html');
	}

	function article_detail(){
		$this->load->library('ci_smarty');
		$this->ci_smarty->display('article_detail.html');
	}

	function teacher_detail(){
		$this->load->library('ci_smarty');
		$this->ci_smarty->display('teacher_detail.html');
	}

	function course_detail(){
		$this->load->library('ci_smarty');
		$this->ci_smarty->display('course_detail.html');
	}

	function equipment_list(){
		$this->load->library('ci_smarty');
		$this->ci_smarty->display('equipment_list.html');
	}

	function equipment_detail(){
		$this->load->library('ci_smarty');
		$this->ci_smarty->display('equipment_detail.html');
	}
}
